import request from '@/utils/request'

//统一字典下拉框查询
export function adminDict(params) {
    return request({
      url: `common/v1/adminDict`,
      method: 'get',
      params
    })
  }
//新增商户行业佣金管理
export function addIndustry(data) {
    return request({
      url: '/merchant/qualification/reminder',
      method: 'post',
      data
    })
}

//编辑商户行业佣金管理
export function editIndustry(data) {
    return request({
      url: '/merchant/qualification/reminder',
      method: 'put',
      data
    })
}

//
export function getList(data) {
    return request({
        url: `/merchant/qualification/reminder/list`,
        method: 'POST',
        data
    })
}

//行业资质上传提醒详情
export function getDetail(id) {
    return request({
        url: `/merchant/qualification/reminder/detail/${id}`,
        method: 'get',
    })
}

//行业类型-new
export function shopTypeList() {
    return request({
      url: `/merchant/qualification/reminder/industry/list`,
      method: 'get',
      
    })
  }

export function shopTypeListIndex(params) {
    return request({
      url: `/common/v1/shopTypeListAll`,
      method: 'get',
      params
    })
}

export function limitshopTypeList(id) {
    return request({
      url: `/merchant/qualification/reminder/industry/sub/${id}`,
      method: 'get',
    })
  }


